package com.shop.cereshop.commons.tencent.moderation.service;

import com.shop.cereshop.commons.tencent.moderation.domain.request.CreateVideoModerationTaskParam;
import com.shop.cereshop.commons.tencent.moderation.domain.response.VideoModerationResult;

/**
 * @description: 腾讯云视频审核服务接口
 * @author zdd
 * @date 2025/10/26 15:19
 * @version 1.0
 */
public interface VideoModerationService {

    /**
     * 创建视频审核任务
     * @param param 视频审核参数
     * return 创建结果
     */
    VideoModerationResult createModerationTask(CreateVideoModerationTaskParam param);

    /**
     * 获取视频审核结果
     * @param taskId 任务ID
     * return 获取结果
     */
    VideoModerationResult getTaskResult(String taskId);

    /**
     * 取消视频审核任务
     * @param taskId 待取消的任务ID
     * return 是否取消成功
     */
    boolean cancelTask(String taskId);

}
